Skip to content

Conversation

achingbrain
Copy link
Member

Adds two new fields mtime and mode in line with the unixfs spec.

One possible wart here is that mtime is implemented as a JavaScript number which means it can't hold the full value of int64 so cannot represent dates in the far future.

This should be addressed by UnixFSv2 which should hopefully arrive before we top out Number.MAX_SAFE_INTEGER - e.g. early June 2255.

Adds two new fields `mtime` and `mode` in line with the unixfs spec.

One possible wart here is that `mtime` is implemented as a JavaScript
number which means it can't hold the full value of `int64` so cannot
represent dates in the far future.

This should be addressed by UnixFSv2 which should hopefully arrive
before we top out `Number.MAX_SAFE_INTEGER` - e.g. early June 2255.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants